package essenceClasses;


import java.sql.Date;

/**
 * Created by User on 25.05.14.
 */
public class Task {
    private int id;
    private String title;
    private String description;
    private int priorites;
    private Date dateCreate;
    private Date dateStart;
    private Date dateEnd;

    public Task(int id, String title, String description, int priorites, Date dateCreate, Date dateStart, Date dateEnd) {
        this.id = id;
        this.title = title;
        this.description = description;
        this.priorites = priorites;
        this.dateCreate = dateCreate;
        this.dateStart = dateStart;
        this.dateEnd = dateEnd;
    }

    public Date getDateCreate() {
        return dateCreate;
    }

    public void setDateCreate(Date dateCreate) {
        this.dateCreate = dateCreate;
    }

    public Date getDateStart() {
        return dateStart;
    }

    public void setDateStart(Date dateStart) {
        this.dateStart = dateStart;
    }

    public Date getDateEnd() {
        return dateEnd;
    }

    public void setDateEnd(Date dateEnd) {
        this.dateEnd = dateEnd;
    }

    public void setId(int id) {

        this.id = id;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setPriorites(int priorites) {
        this.priorites = priorites;
    }

    public int getId() {
        return id;
    }

    public String getTitle() {
        return title;
    }

    public String getDescription() {
        return description;
    }

    public int getPriorites() {
        return priorites;
    }
}
